package com.avocado.configuration.service;
import com.avocado.configuration.entity.DataDictionary;

import com.avocado.configuration.dto.DataDictionaryAddDto;
import com.avocado.configuration.dto.DataDictionaryEditDto;

import java.util.List;


public interface DataDictionaryService {
     Long add(DataDictionaryAddDto dto, String username);
     void update(DataDictionaryEditDto dto, String username);
     Boolean deleteById(Long id,String key);
     List<DataDictionary> findAll() ;
     String getValueByKey(String key);
}
